/*
========================================================================
 Name        : PublicTransportMapContainer.rssi
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#include "PublicTransportMapContainer.hrh"
#include "PublicTransportMapContainer.loc"
#include "CSingaporeBusGenericView.hrh"
#include <SingaporeBus_aif.mbg>


RESOURCE MENU_BAR r_public_transport_map_container_mark_context_menu
	{
	titles =
		{
		MENU_TITLE
			{
			menu_pane = r_public_transport_map_container_menu_pane3;
			}
		};
	}

RESOURCE AVKON_VIEW r_public_transport_map_container_public_transport_map_container_view
	{
	cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
	menubar = r_public_transport_map_container_options_menu;
	toolbar = 0;
	}


RESOURCE MENU_BAR r_public_transport_map_container_options_menu
	{
	titles =
		{
		MENU_TITLE
			{
			menu_pane = r_public_transport_map_container_menu_pane1_menu_pane;
			}
		};
	}
RESOURCE MENU_PANE r_public_transport_map_container_menu_pane1_menu_pane
	{
	items =
		{
		MENU_ITEM
			{
			command = EPublicTransportMapContainerViewShow_busMenuItemCommand;
			txt = STR_PublicTransportMapContainerView_6;
			},
		MENU_ITEM
			{
			command = EPublicTransportMapContainerViewRefresh_positionMenuItemCommand;
			txt = STR_PublicTransportMapContainerView_4;
			},
		MENU_ITEM
			{
			cascade = r_public_transport_map_container_menu_pane3;
			txt = STR_PublicTransportMapContainerView_7;
			}
		};
	}
RESOURCE STATUS_PANE_APP_MODEL r_public_transport_map_container_status_pane
	{
	panes =
		{
		SPANE_PANE
			{
			id = EEikStatusPaneUidTitle;
			type = EAknCtTitlePane;
			resource = r_public_transport_map_container_title_resource;
			}
		};
	}
RESOURCE TITLE_PANE r_public_transport_map_container_title_resource
	{
	txt = STR_PublicTransportMapContainerView_3;
	}
RESOURCE MENU_PANE r_public_transport_map_container_menu_pane3
	{
	items =
		{
		MENU_ITEM
			{
			command = EPublicTransportMapContainerViewOriginMenuItemCommand;
			txt = STR_PublicTransportMapContainerView_11;
			},
		MENU_ITEM
			{
			command = EPublicTransportMapContainerViewDestinationMenuItemCommand;
			txt = STR_PublicTransportMapContainerView_12;
			},
		MENU_ITEM
			{
			command = EPublicTransportMapContainerViewFavoriteMenuItemCommand;
			txt = STR_PublicTransportMapContainerView_8;
			}
		};
	}






RESOURCE AVKON_TOOLBAR r_public_transport_map_toolbar
    {
    flags = 0x00000080; //KAknToolbarFixed
//    flags = KAknToolbarFixed;
    items =
        {
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = ESingaporeBusShowMap;
            control = AVKON_BUTTON
                {
                flags = 0;
                states =
                    {
        					AVKON_BUTTON_STATE 
        							   {
        							   bmpfile = "\\resource\\apps\\SingaporeBus_aif.mif";
        							   bmpid = EMbmSingaporebus_aifShowmap; 
        							   bmpmask = EMbmSingaporebus_aifShowmap_mask; 
        							   press_bmpid = EMbmSingaporebus_aifShowmap; 
        							   press_bmpmask = EMbmSingaporebus_aifShowmap_mask; 
        							   helptxt = "Map"; 
        							   }
                    };
                };
            },
 /*       TBAR_CTRL
            {
            type = EAknCtButton;
            id = ESingaporeBusRefreshAll;
            control = AVKON_BUTTON
                {
                flags = 0;
                states =
                    {
        					AVKON_BUTTON_STATE 
        							   {
        							   bmpfile = "\\resource\\apps\\SingaporeBus_aif.mif";
        							   bmpid = EMbmSingaporebus_aifStopwatch; 
        							   bmpmask = EMbmSingaporebus_aifStopwatch_mask; 
        							   press_bmpid = EMbmSingaporebus_aifStopwatch; 
        							   press_bmpmask = EMbmSingaporebus_aifStopwatch_mask; 
        							   helptxt = "Refresh";
        							   }
                    };
                };
            },
            */
            TBAR_CTRL
                       {
                       type = EAknCtButton;
                       id = ESingaporeBusRefreshPosition;
                       control = AVKON_BUTTON
                           {
                           flags = 0;
                           states =
                               {
                   					AVKON_BUTTON_STATE 
                   							   {
                							   bmpfile = "\\resource\\apps\\SingaporeBus_aif.mif";
                							   bmpid = EMbmSingaporebus_aifShowmap; 
                							   bmpmask = EMbmSingaporebus_aifShowmap_mask; 
                							   press_bmpid = EMbmSingaporebus_aifShowmap; 
                							   press_bmpmask = EMbmSingaporebus_aifShowmap_mask; 
                							   helptxt = "Map"; 
                   							   }
                               };
                           };
                       },
        TBAR_CTRL
            {
            type = EAknCtButton;
            id = ESingaporeBusSearch;
            control = AVKON_BUTTON
                {
                flags = 0;
                states =
                    {
                    AVKON_BUTTON_STATE
                        {
						   bmpfile = "\\resource\\apps\\SingaporeBus_aif.mif";
						   bmpid = EMbmSingaporebus_aifShowmap; 
						   bmpmask = EMbmSingaporebus_aifShowmap_mask; 
						   press_bmpid = EMbmSingaporebus_aifShowmap; 
						   press_bmpmask = EMbmSingaporebus_aifShowmap_mask; 
						   helptxt = "Map"; 
                        }  
                    };
                };
            }
        };
    }


